__author__ = 'guolt'
#实现
#coding:utf-8

import os

#设置要读取的文件；
file01=open('/home/guolt/new.txt','r')

while True:
    line = file01.readline()   #每一行内容加载到参数line；做while循环！
    if len(line) == 0:
        break
    else:
        print "每一行内容为: ",line,
